package cn.exrick.xboot.enterpriseUser.controllerImp

import cn.exrick.xboot.base.entity.ExamResultConfirmCheck
import cn.exrick.xboot.base.service.IExamConfirmCheckService
import cn.exrick.xboot.base.service.IExamResultConfirmCheckService
import cn.exrick.xboot.core.common.vo.PageVo
import cn.exrick.xboot.core.common.vo.Result
import cn.exrick.xboot.enterpriseUser.controller.IEnterpriseUserController
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.web.bind.annotation.RestController

@RestController
open class IExamResultConfirmCheckController: IEnterpriseUserController.IExamResultConfirmCheck{


    @Autowired
    private lateinit var iExamResultConfirmCheckService: IExamResultConfirmCheckService

    override fun createExamResultConfirmCheck(examSelPic: String?): Result<Any?>? {

        return iExamResultConfirmCheckService.createExamResultConfirmCheck(examSelPic)
    }

    override fun getMyExamResultConfirmCheckList(pageVo: PageVo, checkStatus: Int?): Result<MutableMap<String, Any?>?>? {

        return iExamResultConfirmCheckService.getMyExamResultConfirmCheckList(pageVo, checkStatus)
    }

    override fun checkExamResultConfirm(examResultConfirmCheck: ExamResultConfirmCheck): Result<Any?>? {

        return iExamResultConfirmCheckService.checkExamResultConfirm(examResultConfirmCheck)
    }
}